<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title><?php if(isset($SEO['title']) && !empty($SEO['title'])) { ?><?php echo $SEO['title'];?><?php } ?><?php echo $SEO['site_title'];?></title>
<meta name="keywords" content="<?php echo $SEO['keyword'];?>">
<meta name="description" content="<?php echo $SEO['description'];?>">
<link href="<?php echo HOME_PATH;?>css/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo HOME_PATH;?>css/media.css" rel="stylesheet" type="text/css">
<link href="<?php echo HOME_PATH;?>css/reset.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="<?php echo HOME_PATH;?>css/font-awesome.min.css">
<link rel="stylesheet" href="<?php echo HOME_PATH;?>css/animate.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo HOME_PATH;?>css/idangerous.swiper.css">
<script type="text/javascript" src="<?php echo HOME_PATH;?>js/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="<?php echo HOME_PATH;?>js/idangerous.swiper.min.js"></script>
<script type="text/javascript" src="<?php echo HOME_PATH;?>js/swiper.animate1.0.2.min.js"></script>
<script type="text/javascript" src="<?php echo HOME_PATH;?>js/jquery.superslide.2.1.2.js"></script>
<script type="text/javascript" src="<?php echo HOME_PATH;?>js/wow.min.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>search_common.js"></script>
<script type="text/javascript">
  $(function(){
     new WOW().init();
     $(".imgbox").hover(function(){
        $(this).find("img").eq(0).addClass("scale-1x");
    },function(){
        $(this).find("img").eq(0).removeClass("scale-1x");
    })});
</script>
</head>
<body>
<div class="smallest-screen"></div>
<div class="webmain">﻿
  <?php include template("content","header"); ?>
  <?php include template("content","top"); ?>
  <section class="met_section">
    <aside>
      <section class="met_aside">
        <h2>搜索页</h2>
        <div class="met_aside_list"> 
        <?php $j=0?>
        <?php $n=1;if(is_array($search_model)) foreach($search_model AS $k=>$v) { ?>
        <?php $j++;?>
            <dl class='list-none navnow'>
                <dt<?php if($v['typeid']==$typeid) { ?> class="on"<?php } ?>><a href="javascript:;" onclick="setmodel(<?php echo $v['typeid'];?>, $(this),<?php echo $siteid;?>, '<?php echo $q;?>');"><span><?php echo $v['name'];?></span></a></dt>
              </dl>
        <?php $n++;}unset($n); ?>
    </div>
      </section>
      <div class="nycon1">
        <div class="lmtit">
          <div class="kuai"></div>
          联系我们
          <div class="xian"></div>
        </div>
        <div class="nr">
          <div class="pic"><img src="<?php echo HOME_PATH;?>images/lx.jpg"/></div>
          <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"block\" data=\"op=block&tag_md5=d914804d132207d03127bd29fc9ef401&pos=page_con\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">添加碎片</a>";}$block_tag = pc_base::load_app_class('block_tag', 'block');echo $block_tag->pc_tag(array('pos'=>'page_con',));?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?></div>
      </div>
      <div class="met_clear"></div>
    </aside>
    <article>
      <div class="met_article">
        <section class="met_article_head">
          <h1>搜索结果</h1>
        </section>
        <div class="met_clear"></div>
        <div class="p14-infolist-1-list"> 
            <?php $n=1; if(is_array($search_data)) foreach($search_data AS $i => $r) { ?>
            <dl>
                <dt> <a href="<?php echo $r['url'];?>"><img alt="<?php echo $r['title'];?>" src="<?php echo $r['thumb'];?>" class="tupian" loadwidth="240" loadheight="145"></a> </dt>
                <dd>
                  <h4><a href="<?php echo $r['url'];?>"> <?php echo $r['title'];?> </a></h4>
                  <div class="p14-infolist-1-list-desc"> <?php echo $r['description'];?></div>
                  <div class="p14-infolist-1-list-deta"> <a href="<?php echo $r['url'];?>"> 了解详情 </a> </div>
                </dd>
              </dl>
            <?php $n++;}unset($n); ?>
            <?php if(empty($search_data)) { ?>未找到结果<?php } ?>
            </div>
        <div class="met_clear"></div>
        <div class="met_pager"><?php echo $pages;?></div>
      </div>
    </article>
    <div class="met_clear"></div>
  </section>
  <?php include template("content","footer"); ?> </div>
</body>
</html>